package com.promise.jokerdream.config.game

import com.promise.jokerdream.model.formation.FormationSelection
import kotlinx.serialization.Serializable

@Serializable
data class FormationGameConfig(
    override val enabledSetting: Boolean = false,
    override val scheduledChallengeEnabled: Boolean = false,
    override val registrationTime: String = "",
    // 助阵选择信息
    val selection: FormationSelection = FormationSelection.EMPTY,
): BaseGameConfig {
    // 为了向后兼容，保留原有的属性访问方式
    val selectedTypeId: Int get() = selection.selectedTypeId
    val selectedFormationId: Int get() = selection.selectedFormationId
    val selectedAttrIndex: Int get() = selection.selectedAttrIndex
}
